package com.example.Lezedata.ui.customView;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.EditText;
import android.widget.FrameLayout;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.example.Lezedata.R;

public class CGInputAndRightView extends FrameLayout{
    public TextView leftView;
    public EditText inputView;
    public TextView rightView;

    public CGInputAndRightView(@NonNull Context context) {
        super(context);
    }

    public CGInputAndRightView(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
        View.inflate(context, R.layout.input_rightview,this);
    }

    @Override
    protected void onFinishInflate() {
        super.onFinishInflate();
        leftView = findViewById(R.id.leftView_right);
        inputView = findViewById(R.id.inputView_right);
        rightView = findViewById(R.id.rightView_right);
    }
}
